package com.three.mapper;

import com.three.entity.Role;

import java.util.List;

/**
* @author 天天好心情
* @description 针对表【role】的数据库操作Mapper
* @createDate 2024-10-21 14:29:19
* @Entity com.three.entity.Role
*/
public interface RoleMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> getAll();

    //查找所有正常状态下的角色
    List<Role> roleAll();
}
